package com.news.service;

import com.news.data.entity.Article;

import java.util.List;

/**
 * Author : xuzhiyong
 * Date : 2022/5/23 11:02
 */
public interface ArticleService {

    List<Article> findAllArticle();

    boolean addArticle(Article article);

    boolean updateArticle(Article article);

    boolean deleteArticleById(Integer id);

    Article findArticleById(Integer id);
}
